using System;

namespace Catastrophe.Common.AttributeEx
{
	public class TreeNodeAttribute : Attribute
	{
		public int BaseIndex { get; set; } = -1;


		public int ParentIndex { get; set; } = -1;


		public string NodeName { get; set; }

		public TreeNodeAttribute(int baseIndex, int parentIndex, string nodeName)
		{
			this.BaseIndex = baseIndex;
			this.ParentIndex = parentIndex;
			this.NodeName = nodeName;
		}
	}
}
